﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Game
{
    public class Object
    {
       public int x;
       public int y;
       public char symbol;
       public ConsoleColor color;

       public static void PrintOnPosition(int x, int y, char c, ConsoleColor color = ConsoleColor.Green)
       {
           Console.CursorVisible = false;
           Console.SetCursorPosition(x, y);
           Console.ForegroundColor = color;
           Console.Write(c);
       }
    }
}
